#ifndef SQLITEMANAGER_H
#define SQLITEMANAGER_H

#include <QObject>
#include <QDebug>
#include <QDateTime>
#include <QSqlDatabase>
#include <QDebug>
#include <QSqlQuery>

namespace Sqlite{

class SqliteManager : public QObject
{
    Q_OBJECT
public:
    explicit SqliteManager(QObject *parent = 0);
    static SqliteManager *instance(QObject *parent = 0);
    void init();
    void setDatabase(const QString nameDB);
    void doProcessSQLQuery(QSqlQuery& query);

signals:

public slots:

private:

    static SqliteManager* m_instance;
    QSqlDatabase m_db ;
};

}

#endif // SQLITEMANAGER_H
